#define _CRT_SECURE_NO_WARNINGS
#include "seqlist.h"

void testSeqList(SL* s)
{
	//SeqListBackPush(s, 111);
	//SeqListBackPush(s, 2);
	//SeqListBackPush(s, 3);
	//SeqListBackPush(s, 4);
	//SeqListBackPush(s, 5);

	//PrintSeqList(s);

	//SeqListBackPop(s);
	//SeqListBackPop(s);
	//SeqListBackPop(s);
	//SeqListBackPop(s);
	//SeqListBackPop(s);
	//SeqListBackPush(s, 4);
	//SeqListBackPush(s, 5);
	SeqListFrontPush(s, 5);
	SeqListFrontPush(s, 3);
	SeqListFrontPush(s, 2);
	SeqListFrontPush(s, 1);

	/*SeqListFrontPop(s);
	SeqListFrontPop(s);
	SeqListFrontPop(s);
	SeqListFrontPop(s);*/
	SeqListErash(s, 1);


	/*PrintSeqList(s);
	int index = SeqListFind(s,5);
	printf("%d\n", index);*/
	PrintSeqList(s);
	DestorySeqList(s);

}

int main()
{
	SL s;
	SeqListInit(&s);
	testSeqList(&s);
	return 0;
}